<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<!-- 警种选择 -->
	<base href="<%=basePath%>" />
	<title>${title}</title>
	<style type="text/css">
		#choose-a-police{margin:0px;border:1px solid #C3C3C3;}
		#choose-a-police{overflow-x: hidden;overflow-y:auto;height:250px;}
		#choose-a-police a{
			height: 18px;line-height: 18px;color:#005EAC;text-decoration:none;
			font-size: 9pt;font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif;
			float: left;width:75px;margin:4px 4px;cursor:pointer;padding-left:34px;
		}
		#choose-a-police a:hover{background-color:#005EAC;color:white;cursor:pointer;}
	</style>
	<script type="text/javascript" defer="defer" src="<c:url value='/resource/artdialog/artdialog.js'/>"></script>
	<script type="text/javascript" defer="defer" src="<c:url value='/resource/artdialog/iframetools.js'/>"></script>	
	<script type="text/javascript" src="<c:url value='/resource/js/jquery-1.7.2.min.js'/>"></script>
	<script type="text/javascript">
		$(function(){
			$.get("<%=basePath%>dictionary/getvalue/4.json",{},function(data){
				$.each(data.list,function(i,dict){
					$("#choose-a-police").append("<a href='()'>"+dict.name+"</a>")
				});
			},"json");
			$("#choose-a-police a").live("click", function(){
				var origin = artDialog.open.origin;
				origin.document.getElementById("policeKind").value=$(this).html();
				art.dialog.close();
			});
		});
		function clearPoliceKind(){
			var origin = artDialog.open.origin;
			origin.document.getElementById("policeKind").value="";
		}
		
	</script>
</head>
<body>
	<div id="choose-a-police">
	</div>
 </body>
</html>